/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ModelLayer;

import DBLayer.MapName;

/**
 *
 * @author Evil
 */
public class CarColor
{
    @MapName(ColumnName="ID")
    private int colorID;
    @MapName(ColumnName="Color")
    private String color;
    @MapName(ColumnName="Price")
    private double price;

    public CarColor(String color, double price)
    {
        this.color = color;
        this.price = price;
        
    }

    public CarColor()
    {

    }
    

    public int getColorID() {
        return colorID;
    }

    public void setColorID(int ColorID) {
        this.colorID = ColorID;
    }

    public String getColor()
    {
        return color;
    }

    public void setColor(String color)
    {
        this.color = color;
    }

    public double getPrice()
    {
        return price;
    }

    public void setPrice(double price)
    {
        this.price = price;
    }
}
